package com.cndym.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 作者：邓玉明
 * 时间：11-3-27 上午11:09
 * 
 * 
 */

public class Cooperation implements Serializable {
    private static final long serialVersionUID = 7708962612733688322L;
    private Long id;
    private String sid;//渠道编号
    private String pid;//父渠道编号
    private Integer type;//渠道类型
    private String platform;//平台
    private String name;//名称
    private String companyName;//公司名称
    private String companyWebsite;//公司公司网站名称
    private String accessInterface;//接入ip地址接口地址
    private String address;//公司地址
    private String zipCode;//邮政编码
    private String tel;//公司电话
    private String fax;//公司传真
    private String representative;//公司代表
    private String representativeMobile;//公司代表手机
    private String buinessContact;//业务联系人
    private String buinessContactTel;//业务联系电话
    private String buinessContactMobile;//业务联系手机
    private String buinessEmail;//业务联系邮箱
    private Integer status;//账户状态 0 冻结 1开通

    //配置信息
    private Integer sendIssue; //是否发送期次信息 0 不发送 1 发送
    private Integer sendPrograms; //是否发送方案信息 0 不发送 1 发送
    private Integer sendBonus; //是否发送返奖信息 0 不发送 1 发送
    private Integer sendOpenBonus;//是否发送开奖信息 0 不发送 1 发送

    private String privateKey;//加密KEy
    private String digestType; //md5,rsa
    private Date createTime;

    public Cooperation() {
    }

    public Cooperation(Long id, String sid, String pid, Integer type, String platform, String name, String companyName, String companyWebsite, String accessInterface, String address, String zipCode, String tel, String fax, String representative, String representativeMobile, String buinessContact, String buinessContactTel, String buinessContactMobile, String buinessEmail, Integer status, Integer sendIssue, Integer sendPrograms, Integer sendBonus, Integer sendOpenBonus, String key, String digestType, Date createTime) {
        this.id = id;
        this.sid = sid;
        this.pid = pid;
        this.type = type;
        this.platform = platform;
        this.name = name;
        this.companyName = companyName;
        this.companyWebsite = companyWebsite;
        this.accessInterface = accessInterface;
        this.address = address;
        this.zipCode = zipCode;
        this.tel = tel;
        this.fax = fax;
        this.representative = representative;
        this.representativeMobile = representativeMobile;
        this.buinessContact = buinessContact;
        this.buinessContactTel = buinessContactTel;
        this.buinessContactMobile = buinessContactMobile;
        this.buinessEmail = buinessEmail;
        this.status = status;
        this.sendIssue = sendIssue;
        this.sendPrograms = sendPrograms;
        this.sendBonus = sendBonus;
        this.sendOpenBonus = sendOpenBonus;
        this.privateKey = key;
        this.digestType = digestType;
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyWebsite() {
        return companyWebsite;
    }

    public void setCompanyWebsite(String companyWebsite) {
        this.companyWebsite = companyWebsite;
    }

    public String getAccessInterface() {
        return accessInterface;
    }

    public void setAccessInterface(String accessInterface) {
        this.accessInterface = accessInterface;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getRepresentative() {
        return representative;
    }

    public void setRepresentative(String representative) {
        this.representative = representative;
    }

    public String getRepresentativeMobile() {
        return representativeMobile;
    }

    public void setRepresentativeMobile(String representativeMobile) {
        this.representativeMobile = representativeMobile;
    }

    public String getBuinessContact() {
        return buinessContact;
    }

    public void setBuinessContact(String buinessContact) {
        this.buinessContact = buinessContact;
    }

    public String getBuinessContactTel() {
        return buinessContactTel;
    }

    public void setBuinessContactTel(String buinessContactTel) {
        this.buinessContactTel = buinessContactTel;
    }

    public String getBuinessContactMobile() {
        return buinessContactMobile;
    }

    public void setBuinessContactMobile(String buinessContactMobile) {
        this.buinessContactMobile = buinessContactMobile;
    }

    public String getBuinessEmail() {
        return buinessEmail;
    }

    public void setBuinessEmail(String buinessEmail) {
        this.buinessEmail = buinessEmail;
    }

    public Integer getSendIssue() {
        return sendIssue;
    }

    public void setSendIssue(Integer sendIssue) {
        this.sendIssue = sendIssue;
    }

    public Integer getSendPrograms() {
        return sendPrograms;
    }

    public void setSendPrograms(Integer sendPrograms) {
        this.sendPrograms = sendPrograms;
    }

    public Integer getSendBonus() {
        return sendBonus;
    }

    public void setSendBonus(Integer sendBonus) {
        this.sendBonus = sendBonus;
    }

    public String getDigestType() {
        return digestType;
    }

    public void setDigestType(String digestType) {
        this.digestType = digestType;
    }

    public Integer getSendOpenBonus() {
        return sendOpenBonus;
    }

    public void setSendOpenBonus(Integer sendOpenBonus) {
        this.sendOpenBonus = sendOpenBonus;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }
}
